// Extend.js (http://code.google.com/p/extendjs/)
// Copyright 2010 Shumpei Shiraishi All rights reserved.
// Licensed under the MIT license.

(function() {
    var slice = Array.prototype.slice;
    X.util = {};
    X.util.toArray = function(arrayLike) {
	return slice.call(arrayLike, 0);
    }
    X.util.extend = function(dest, src) {
	for (var p in src) {
	    dest[p] = src[p];
	}
	return dest;
    }
})(this);
